import request from '@/utils/request'

// 查询高速路段管理列表
export function listExpresswaySection(query) {
  return request({
    url: '/check/expresswaySection/list',
    method: 'get',
    params: query
  })
}

// 查询高速路段管理详细
export function getExpresswaySection(expresswaySectionId) {
  return request({
    url: '/check/expresswaySection/' + expresswaySectionId,
    method: 'get'
  })
}

// 新增高速路段管理
export function addExpresswaySection(data) {
  return request({
    url: '/check/expresswaySection',
    method: 'post',
    data: data
  })
}

// 修改高速路段管理
export function updateExpresswaySection(data) {
  return request({
    url: '/check/expresswaySection',
    method: 'put',
    data: data
  })
}

// 删除高速路段管理
export function delExpresswaySection(expresswaySectionId) {
  return request({
    url: '/check/expresswaySection/' + expresswaySectionId,
    method: 'delete'
  })
}

// 查询高速路段管理不分页列表
export function selectListExpresswaySection(query) {
  return request({
    url: '/check/expresswaySection/selectList',
    method: 'get',
    params: query
  })
}
